package com.jwsoft.manager.common.vo.eduAddressSchoolReplace;

import com.bifang.assistant.common.vo.BaseVO;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 地址学区替换表VO
 *
 * @author zhiyuan
 * @since 2024-03-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class EduAddressSchoolReplaceVO extends BaseVO {

    @Schema(name = "replaceId", description = "处理id")
    private Long replaceId;

    @Schema(name = "addressId", description = "地址id")
    private String addressId;

    @Schema(name = "addressName", description = "地址名")
    private String addressName;

    @Schema(name = "oldSchoolName", description = "原关联学校名称")
    private String oldSchoolName;

    @Schema(name = "oldSchoolId", description = "原关联学校id")
    private String oldSchoolId;

    @Schema(name = "newSchoolName", description = "替换关联学校名")
    private String newSchoolName;

    @Schema(name = "newSchoolId", description = "替换学校id")
    private String newSchoolId;

    @Schema(name = "treeId", description = "地址树叶子节点id")
    private Long treeId;

    @Schema(name = "addressSchoolId", description = "替换后地址学校关联id")
    private String addressSchoolId;

    @Schema(name = "status", description = "处理状态：0未处理，1处理中 2处理完成 3 处理失败")
    private String status;

    @Schema(name = "handleTime", description = "处理时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date handleTime;

    @Schema(name = "handleRemark", description = "处理备注")
    private String handleRemark;
}
